#
SRC=rabin.ml call.ml
OBJS=$(SRC:.ml=.cmx)
OCAMLC=ocamlc.opt
OCAMLOPT=ocamlopt.opt


#
all: $(OBJS)


.SUFFIXES: .ml .mli .cmo .cmi .cmx .opt

#
.ml:
	${OCAMLC} -o $@ $<

#
.ml.opt:
	${OCAMLOPT} -o $@ $<

.mli.cmi:
	${OCAMLC} -c $<

.ml.cmo:
	${OCAMLC} -c $<

.ml.cmx:
	${OCAMLOPT} -c $<

#
clean::
	rm -f test*
	rm -f *~
	rm -f *.cm[iox] *.o
	rm -f \#*

# THE END (do not delete)